#pragma once

#include "ofMain.h"

class Timer {
public:
	Timer();
	virtual ~Timer();

    float y;
    
	bool active;
    
	int begin;
	int lastCheck;
    
	int currentTime;
	int frameMillis;

	virtual void trigger();
	virtual void update();
	virtual void draw();
	virtual int getElapsed();
	virtual void deactivate();
    
	virtual void executeBegin();
	virtual void step();
	virtual void executeEnd();
	virtual bool isEnd();
};
